package com.base.service;

import com.base.po.voip.UsersRebate;
import com.base.po.voip.UsersRebateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersRebateService {
    int countByExample(UsersRebateExample example);

    int deleteByExample(UsersRebateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UsersRebate record);

    int insertSelective(UsersRebate record);

    List<UsersRebate> selectByExample(UsersRebateExample example);

    UsersRebate selectByPrimaryKey(Integer id);

    UsersRebate selectByParentId(@Param("parentid") String parentid, @Param("level") Integer level);

    int updateByExampleSelective(@Param("record") UsersRebate record, @Param("example") UsersRebateExample example);

    int updateByExample(@Param("record") UsersRebate record, @Param("example") UsersRebateExample example);

    int updateByPrimaryKeySelective(UsersRebate record);

    int updateByPrimaryKey(UsersRebate record);
}